﻿using Model;

namespace Services.IServices
{
    public interface IUserServices
    {
        /// <summary>
        /// 查询所有学生列表
        /// </summary>
        /// <returns></returns>
        List<User> GetStudent();
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="user">登录实体</param>
        /// <returns></returns
        User GetFirst(int LoginID, string LoginPassWord);
        /// <summary>
        /// 添加 信息
        /// </summary>
        /// <param name="Coderule"></param>
        /// <returns></returns>
        int Add(User user);
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="loginBody"></param>
        /// <param name="logininfor"></param>
        /// <returns></returns>
        public User Login(int LoginID, string LoginPassWord);
        /// <summary>
        /// 获取所有信息
        /// </summary>
        /// <returns></returns>
        List<User> GetAll();
    }
}
